-- GENERATED SPELL FOR [Ragereaver Golem] --


function spell0_8906(pUnit, Event) --@Frenzy,Self--
pUnit:FullCastSpellOnTarget(12795,pUnit)
pUnit:RegisterEvent('Sorts_8906', 563, 1)
end

function Sorts_8906(pUnit, Event)
local choix_sorts_8906 = math.random(0, 0)
if choix_sorts_8906 == 0 then
pUnit:RegisterEvent('spell0_8906', 1, 1)
end
end

function mob8906_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8906', math.random(1500, 3000), 1)
end

function mob8906_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8906_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8906_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8906, 1, 'mob8906_Action')
RegisterUnitEvent(8906, 2, 'mob8906_Leave')
RegisterUnitEvent(8906, 3, 'mob8906_Kill')
RegisterUnitEvent(8906, 4, 'mob8906_Die')
